package com.treasure.mall.biz.repository.withdraw;

import com.treasure.mall.biz.base.JpaSearchableRepository;
import com.treasure.mall.biz.entity.product.CategoryPO;
import com.treasure.mall.biz.entity.withdraw.BankPO;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zoul
 * @version 1.0
 * @date 2020/6/14 15:31
 * @Description
 */
@Repository
public interface BankRepository extends JpaSearchableRepository<BankPO, Long> {

    @Query("select a from BankPO a order by a.bankId")
    List<BankPO> getList();
}
